From 1665ba69de0b3101367c131b237a386c55e2f407 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 1 Nov 2004 20:59:56 +0000 Subject: [PATCH] Add an intro. 2004-11-01 Matthias Clasen * gtk/tmpl/gtkcellrendererpixbuf.sgml: Add an intro. --- docs/reference/ChangeLog | 2 ++ docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml | 14 ++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index f7c0f33455..67a094e789 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2004-11-01 Matthias Clasen + * gtk/tmpl/gtkcellrendererpixbuf.sgml: Add an intro. + * gtk/tmpl/gtkfilechooserbutton.sgml: Move some docs inline. * gtk/tmpl/gtkaboutdialog.sgml: Small update. diff --git a/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml b/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml index 575380df17..b574076f70 100644 --- a/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml +++ b/docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml @@ -6,7 +6,21 @@ Renders a pixbuf in a cell +A #GtkCellRendererPixbuf can be used to render an image in a cell. It allows to render +either a given #GdkPixbuf (set via the pixbuf +property) or a stock icon (set via the stock-id +property). + + +To support the tree view, #GtkCellRendererPixbuf also supports rendering two alternative pixbufs, +when the is-expander property is %TRUE. +If the is-expander property is %TRUE and +the pixbuf-expander-open property +is set to a pixbuf, it renders that pixbuf, if the +is-expander property is %FALSE and +the pixbuf-expander-closed property +is set to a pixbuf, it renders that one. -- 2.30.2